class ExampleOrator < Orator::Base

  # This defines a before event.  It can take a block or a symbol.  If it's a
  # symbol, it'll call the method.
  #before do
  #  something
  #end

  # This defines the event `some_event`.  It is called automatically when an
  # event matches the definition for this (i.e. "example#some_event").
  #def some_event(json)
  #  do_something
  #end

  #after do
  #  other_thing
  #end

end
